package com.zch.house.entity;

import java.sql.Date;

/**
 * 房租信息实体类
 * @author Administrator
 *
 */
public class Rent {
	/**
	 * 唯一标识
	 */
	private int	r_id;
	/**
	 * 房屋(House)id
	 */
	private int	flat_id;
	/**
	 * 租户(Lessee)id
	 */
	private int	tenant_id;
	/**
	 * 缴纳金额
	 */
	private double	r_money;
	/**
	 * 缴纳时间
	 */
	private Date r_time;
	/**
	 * 备注
	 */
	private String	r_remark;
	
	private String l_name;
	private String l_tel;
	
	
	public String getL_name() {
		return l_name;
	}
	public void setL_name(String l_name) {
		this.l_name = l_name;
	}
	public String getL_tel() {
		return l_tel;
	}
	public void setL_tel(String l_tel) {
		this.l_tel = l_tel;
	}
	public int getR_id() {
		return r_id;
	}
	public void setR_id(int r_id) {
		this.r_id = r_id;
	}
	public int getFlat_id() {
		return flat_id;
	}
	public void setFlat_id(int flat_id) {
		this.flat_id = flat_id;
	}
	public int getTenant_id() {
		return tenant_id;
	}
	public void setTenant_id(int tenant_id) {
		this.tenant_id = tenant_id;
	}
	public double getR_money() {
		return r_money;
	}
	public void setR_money(double r_money) {
		this.r_money = r_money;
	}
	public Date getR_time() {
		return r_time;
	}
	public void setR_time(Date r_time) {
		this.r_time = r_time;
	}
	public String getR_remark() {
		return r_remark;
	}
	public void setR_remark(String r_remark) {
		this.r_remark = r_remark;
	}
	@Override
	public String toString() {
		return "Rent [r_id=" + r_id + ", flat_id=" + flat_id + ", tenant_id=" + tenant_id + ", r_money=" + r_money
				+ ", r_time=" + r_time + ", r_remark=" + r_remark + "]";
	}
	public Rent(int r_id, int flat_id, int tenant_id, double r_money, Date r_time, String r_remark) {
		super();
		this.r_id = r_id;
		this.flat_id = flat_id;
		this.tenant_id = tenant_id;
		this.r_money = r_money;
		this.r_time = r_time;
		this.r_remark = r_remark;
	}
	
	public Rent(int r_id, int flat_id, int tenant_id, double r_money, Date r_time, String r_remark, String l_name,
			String l_tel) {
		super();
		this.r_id = r_id;
		this.flat_id = flat_id;
		this.tenant_id = tenant_id;
		this.r_money = r_money;
		this.r_time = r_time;
		this.r_remark = r_remark;
		this.l_name = l_name;
		this.l_tel = l_tel;
	}
	
	public Rent(int flat_id, int tenant_id, double r_money, Date r_time, String r_remark) {
		super();
		this.flat_id = flat_id;
		this.tenant_id = tenant_id;
		this.r_money = r_money;
		this.r_time = r_time;
		this.r_remark = r_remark;
	}
	public Rent() {
		super();
	}
	
	
}
